package com.zx.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.zx.dao.IVideoTypeDAO;
import com.zx.model.VideoType;
@RestController
@RequestMapping("/type")
public class VideoTypeController {

	@Resource
	private IVideoTypeDAO typeDAO;
	
	@RequestMapping("/findAll.do")
	public List<VideoType> findAll(){
		return typeDAO.findAll();
	}
}
